<!--
 * @Author: 陈娇
 * @Date: 2021-04-13 19:19:54
 * @LastEditTime: 2021-04-13 20:32:28
 * @LastEditors: Please set LastEditors
 * @Description: 基础设置通用设置表单子组件
 * @FilePath: \ebc-admin\src\views\basics\GeneralSet\components\input-table.vue
-->
<template>
  <div class="box-padding">
    <el-form ref="form" v-model="tableForm" label-width="100px">
      <el-form-item
        v-for="item in itemList"
        :key="item.key"
        :label="item.label"
      >
        <el-input
          v-model="item.value"
          :disabled="item.disabled"
        />
      </el-form-item>
    </el-form>
  </div>
</template>

<script>
export default {
  name: 'InputTable',
  props: {
    itemList: {
      type: Array,
      default() {
        return []
      }
    },
    tableForm: {
      type: Array,
      default() {
        return []
      }
    }
  }
}
</script>

<style lang="scss" scoped>

</style>
